spacetimeview generates an interactive space time data dashboard in one line of code. You provide the data with columns of GPS coordinates (or sf geometries) and a column of times and spacetimeview will turn it into an interactive plot.
You can use the plot as a static website html file to share with others (hostable for free on services like github pages) or as an interactive html widget to explore your data.
You can install the development version of spacetimeview from GitHub with:
# after cloning with `git clone git@github.com:jakemanger/spacetimeview.git`
devtools::load_all()
#> ℹ Loading spacetimeview
# or install from github
# install.packages("devtools")
# devtools::install_github("jakemanger/spacetimeview")Load your data with GPS coordinates and datetimes:
library(spacetimeview)
d <- read.csv('https://raw.githubusercontent.com/uber-web/kepler.gl-data/master/earthquakes/data.csv')
d <- d[,c('Latitude', 'Longitude', 'DateTime', 'Magnitude')]Now, in one line of code, generate an interactive plot over space and time